#!/bin/bash

nohup ./bin/hive --service metastore >metastore.log 2>&1 &
echo "start metastore servcie"

nohup ./bin/hive --service hiveserver2 >hiveserver2.log 2>&1 &
echo "start hiveserver2 service"